package rauguelu.feria.tapas;


import rauguelu.programaEventos.R;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;
public class tapasVinos extends Activity  {


	 @Override
	    public void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.tapas_vinos);

//			TextView ButtonTapas = (TextView)findViewById(R.id.ButtonTapas);
//			TextView ButtonVinos = (TextView)findViewById(R.id.ButtonVinos);
			ImageView ButtonBares = (ImageView)findViewById(R.id.acceso_bares);
			TextView CabeceraTapas = (TextView)findViewById(R.id.CabeceraTapas);
			TextView dsTitulo1 = (TextView)findViewById(R.id.dsTitulo1);
			TextView dsTitulo2 = (TextView)findViewById(R.id.dsTitulo2);
			ImageView tapas_portada = (ImageView)findViewById(R.id.tapas_portada);
			ImageView vinos_portada = (ImageView)findViewById(R.id.vinos_portada);

			Typeface font2= Typeface.createFromAsset(getAssets(), "VSVAB.TTF");
			Typeface font = Typeface.createFromAsset(getAssets(), "VSVBPSB.TTF");
			CabeceraTapas.setTypeface(font);
			dsTitulo1.setTypeface(font2);
			dsTitulo2.setTypeface(font2);
			
			
			tapas_portada.setOnClickListener(new View.OnClickListener(){
				    public void onClick(View v){
				    	Intent myIntent = new Intent(v.getContext(),	FeriaTapa.class);
				    	startActivityForResult(myIntent, 0);
				    }
				});
	        
			vinos_portada.setOnClickListener(new View.OnClickListener(){
			    public void onClick(View v){
			    	Intent myIntent = new Intent(v.getContext(),	FeriaVinos.class);
			    	startActivityForResult(myIntent, 0);
			    }
			});
	        
	        ButtonBares.setOnClickListener(new OnClickListener() {
				
				@Override
				public void onClick(View v) {
					Intent myIntent = new Intent(v.getContext(),	Bares.class);
			    	startActivityForResult(myIntent, 0);
				}
			});
	        
	      
	 	}
}